<script setup lang="ts">
import AttrOne from "@/pages/attrs/comopnents/attrOne.vue";
const visible = ref(false);
</script>

<template>
  <attr-one class="text-[red] font-bold" one="123" :visible="visible">
    <template #one="data">
      <slot name="one" v-bind="data"></slot>
    </template>
  </attr-one>
  <a-button @click="visible = !visible">{{ visible }}</a-button>
</template>

<style scoped></style>
